package com.mikhailenko.transportMVC.service.es;

import java.util.List;

import com.mikhailenko.transportMVC.exeption.es.InputFakeNotfoundException;
import com.mikhailenko.transportMVC.model.es.InputEntityFake;

public interface InputFakeService {

    public InputEntityFake create(InputEntityFake input);
    
    public InputEntityFake delete(int id) throws InputFakeNotfoundException;
    
    public List<InputEntityFake> findAll();
    
    public InputEntityFake update(InputEntityFake input) throws InputFakeNotfoundException;
    
    public InputEntityFake findById(int id);
    
    public List<InputEntityFake> findByType(boolean type);
    
    public InputEntityFake findByName(String name);
}
